all: gencrashreport killwhoopsie1 killwhoopsie2 segv whoopsie_exploit

gencrashreport: gencrashreport.cpp utils.cpp
	g++ -Wall -O2 gencrashreport.cpp utils.cpp -o gencrashreport

killwhoopsie1: killwhoopsie1.cpp utils.cpp
	g++ -Wall -O2 killwhoopsie1.cpp utils.cpp -o killwhoopsie1

killwhoopsie2: killwhoopsie2.cpp utils.cpp
	g++ -Wall -O2 killwhoopsie2.cpp utils.cpp -o killwhoopsie2

segv: segv.c
	gcc -Wall -O2 segv.c -o segv

whoopsie_exploit: whoopsie_exploit.cpp restart_whoopsie.cpp load_crash_report.cpp encoding.c utils.cpp
	g++ -Wall -O2 whoopsie_exploit.cpp restart_whoopsie.cpp load_crash_report.cpp encoding.c utils.cpp -o whoopsie_exploit

clean:
	rm -f gencrashreport killwhoopsie1 killwhoopsie2 segv whoopsie_exploit
